// Boolean类型
export default {
  props: {
    value: [String, Number, Boolean, Object, Array],
    options: Object
  },
  render(h) {
    var value = Boolean(this.value)
    return h(
      'div',
      {
        attrs: {
          class: value ? 'text-info' : 'text-muted'
        }
      },
      value ? '是' : '否'
    )
  }
}
